package org.idea.spring.bean.beanDefinitionRegistry;

import org.springframework.beans.factory.BeanFactory;
import org.springframework.beans.factory.support.BeanDefinitionBuilder;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.support.DefaultListableBeanFactory;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @Author idea
 * @Date created in 11:14 上午 2020/8/22
 */
public class BeanDefinitionRegistryDemo {

    public static void main(String[] args) {
        BeanFactory beanFactory = new ClassPathXmlApplicationContext("");
        DefaultListableBeanFactory defaultListableBeanFactory = beanFactory.getBean(DefaultListableBeanFactory.class);
//        BeanDefinitionBuilder beanDefinitionBuilder = defaultListableBeanFactory;
    }
}
